package com.masterclient.app.modules.shop.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.shop.DealerShippingItemBean;

import java.util.List;


public interface DealerShippingListContract {

    interface View extends BaseView {
        void showData(List<DealerShippingItemBean> dataBean);
        void showFailure(String msg);
        void defaultResult(boolean isSuccess);
        void showSelectResult(boolean isSuccess);
    }
    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getShippingList(String deliveryId);

        public abstract void setDefault(String id);

        public abstract void selectShipping(String product_id, String delivery_id);

    }


}